//---------------------------------------------------------------------------

#ifndef CIISLPRH
#define CIISLPRH

#include "CIISDB.h"
#include "USBCANInterface.h"

//---------------------------------------------------------------------------
class TCIISLPR : public TObject
{
private:
  TCIISDBModule *DB;
  TUSBCANInterface *CAN;
  TDebugWin *DW;
  Word ZoneCanAdr;
  String Ctrl;
	TLocateOptions NoOpts;
	int T, TNextEvent, TInterval;
	int LPRRange, LPRStep, LPRTOn, LPRTOff, LPRMode;

				int FZoneNo;
				int FRecNo;
				int FVerMajor, FVerMinor;
				void __fastcall Debug(String Message);
				void __fastcall StartLPR();

public:
				__fastcall TCIISLPR( TCIISDBModule *SetDB,
														 TUSBCANInterface * SetCAN,
														 TDebugWin * SetDebugWin,
														 int SetZoneNo,
														 String SetCtrl);
				__fastcall ~TCIISLPR();
				void __fastcall SetDebugWin(TDebugWin * SetDebugWin);
__published:
				__property int ZoneNo  = { read=FZoneNo };
				__property int RecNo  = { read=FRecNo };
				__property int VerMajor = { read=FVerMajor};
				__property int VerMinor = { read=FVerMinor};


};



#endif
